   {include file="common/meta" /}
    <style>
    small {
        color: #547d54;
    }
    .swiper {
        width: 100%;
        height: 100%;
      }

      .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;

        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
      }

      .swiper-slide a {
        display: block;
        width: 100%;
        height: 100%;
      }

      .swiper-slide a  img{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    </style>
    <title>联系我们</title>
</head>
<body>
    <div class="mui-content">
        <!-- 轮播 -->
        <div class="swiper mySwiper">
            <div class="swiper-wrapper">
                {foreach($SubjectList as $item)}
                <div class="swiper-slide">
                    <a style="height: 250px;">
                        <img src="{$item['thumbs_cdn']}">
                        <p class="mui-slider-title" style="background-color:#5b5555;color:white;">{$item['title']}</p>
                    </a>
                </div>
              {/foreach}
            </div>
            <div class="swiper-pagination" style="text-align: right;"></div>
        </div>
    </div>
    <article class="weui-article" style="text-align: center;
    background-color: white;">
        <h1>联&nbsp;系&nbsp;我&nbsp;们<br /><small>Contact Us</small></h1>
        <section >
            <h2 class="title" >联系方式</h2>
            <section>
                <h3>市场销售&nbsp;&nbsp;&nbsp;&nbsp;<a href="tel:185-1242-1111" style="color: green;">185-1242-1111</a></h3>
                <h3>技术支持&nbsp;&nbsp;&nbsp;&nbsp;<a href="139-1234-5678" style="color: green;">139-1234-5678</a></h3>
                <h3>市场销售&nbsp;&nbsp;&nbsp;&nbsp;<a href="tel:178-1422-3211" style="color: green;">178-1422-3211</a></h3>
                <h3>市场销售&nbsp;&nbsp;&nbsp;&nbsp;<a href="tel:152-2233-6555" style="color: green;">152-2233-6555</a></h3>
            </section>
            <h2 class="title">地址</h2>
            <section>
                <h3>广东省广州市海珠区</h3>
            </section>
        </section>
    </article>
</body>
</html>
<script src="/assets/home/js/mui.min.js"></script>
    <script>
        // mui.init({
        //     swipeBack: true //启用右滑关闭功能
        // });
        var slider = mui("#slider");
        slider.slider({
            interval: 5000
        });
    </script>
    <script>
        var mySwiper = new Swiper('.swiper',{
        pagination : '.swiper-pagination',
            paginationClickable: true,
            longSwipesRatio: 0.3,
            touchRatio:1,
            observer:true,//修改swiper自己或子元素时，自动初始化swiper
            observeParents:true,//修改swiper的父元素时，自动初始化swiper
        })
        </script>